package com.mingqijia.gassafety.webserver.request;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.util.Date;

@ApiModel(value = "数据导入列表入参")
@Data
public class FileUploadQueryRequest {

    @NotBlank(message = "数据表种类代号不能为空")
    @ApiModelProperty(value = "导入数据code")
    private String uploadCode;

    @ApiModelProperty(value = "page")
    private Integer page = 1;

    @ApiModelProperty(value = "pageSize")
    private Integer pageSize = 10;

    @ApiModelProperty(value = "上传状态")
    private String status ;

    @ApiModelProperty(value = "操作人")
    private String operatorName ;

    @ApiModelProperty(value = "上传时间开始")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date uploadStartTime ;


    @ApiModelProperty(value = "上传时间结束")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date uploadEndTime ;
}
